<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <ul>
            <!-- <li v-for="(item,index) in arr">{{index}}-{{item.subject}}-{{item.score}}</li> -->
            <li v-for="(item ,key) in student">{{item}}--{{key}}</li>
            <li v-for="(item,key,index) in arr">{{item}}-{{key}}</li>
            <p v-for="count in 10">{{count}}</p>

        </ul>
        <p v-for="item in arr">
            <input type="checkbox">{{item.subject}}
        </p>
    </div>
    <script src="../node_modules/vue/dist/vue.js"></script>
    <script>
        new Vue({
            el:'#app',
            data(){
                return{
                    arr1:[10,20,63,30,10],
                    student:{
                        name:"张三",
                        age:15,
                        gender:'male'
                    },
                    arr:[
                    {
                        subject:'语文',
                        score:90
                    },
                    {
                        subject:'数学',
                        score:91
                    },
                    {
                        subject:'英语',
                        score:92
                    }],
                    
                }
            }
        })
    </script>
</body>
</html>